<?php


namespace app\model;


use think\Model;

class Opera extends Model
{
    public function collection()
    {
        return $this->hasMany(OperaCollection::class, 'opera_id', 'opera_collection_id');
    }
}